Data Manager

The Data Manager lists all datasets that are open in the current ENVI session.

See the following for details on using the Data Manager:

Open and Display Files

If the Data Manager preference Auto Display Files On Open is set to Yes (the default), ENVI automatically loads the data into the view when it is opened. If set to No, select how you want to display the data in the view, as described in the Manually Display Files section below.

For rasters, the Data Manager lists all available bands of a raster. If wavelengths are defined in the ENVI header file, the Data Manager shows wavelength colors next to each band. Bands with invisible wavelengths are shown in black. If bad bands are defined in the header file, they bands are marked with a warning symbol .

  1. Open the Data Manager with one of the following:

    • From the menu bar, select File > Data Manager.

    • From the Toolbar, click the Data Manager button .

    You can click the Pin button in the Data Manager Toolbar to have the Data Manager persist on the screen as you load subsequent layers into the display. Click the button again to have the Data Manager close whenever you load layers into the view.

  2. Click the Open button in the Data Manager Toolbar and browse for a file from the Open dialog that appears.

  3. To close one or more files in the Data Manager, select one of the following from the Data Manager Toolbar:

    • Select the file(s) to close and click the Close File button.

    • Click Close All Files button to close all open files.

    When you close a file from the Data Manager, it also removes the layers from the Layer Manager and closes all temporary files that were created in the current ENVI session.

Manually Display Files

If the Auto Display Files On Open preference is set to No, use the following to manually load the files into the view. Data that is loaded into the view is added to the Layer Manager.

To manually display raster data:

To manually display other data types:

File Information

The File Information category of the Data Manager provides detailed information about a file. This category is collapsed by default. You can expand or collapse this category by clicking the arrow next to the category name. When expanded, the File Information category lists information derived from the file header. A subset of this information is also displayed in the

To edit header information, see ENVI Header Files.

Raster Layer Information

Vector Layer Information

Annotation Layer Information

ROI Layer Information (for .roi files)

Band Selection

To create a new RGB layer consisting of three bands from different files, use the steps below. The images must be coregistered and have the same x and y dimensions. Bands from a palette-based image are not supported.

  1. Open the image files.
  2. Expand the Band Selection category.
  3. With the red band selected in the Band Selection category, click on a band name from any file to assign that band to red.
  4. Repeat for the green and blue bands.
  5. Click the Load Data button.

The resulting RGB image is added to the Layer Manager for display; it is not added to the Data Manager as a new image. To create an RGB layer that you can export to a file, use the Build Layer Stack tool or the ENVIMetaspectralRaster routine in the API.

Send Files to ArcGIS Pro

If ArcGIS Pro is installed, you can send one or more open files from ENVI to ArcGIS Pro. When the dataset displayed in both ENVI and ArcGIS Pro, you can set the extent to use, and link the ENVI view and ArcGIS Pro view to synchronize them. See ArcGIS Pro Integration for details on setting extents and linking the views.

Supported file types are rasters and vectors. Raster files must be saved in a format supported by ArcGIS Pro. If ArcGIS Pro cannot read the file, ENVI will save the raster to a .dat file before sending it to ArcGIS Pro.

Note that ArcGIS Pro uses different logic to open raster files in terms of histogram stretching and how to handle files that produce multiple rasters when opened (such as NITF). This is due to ENVI not sending pixel data to ArcGIS Pro, it is sending a file to open.

To send files to ArcGIS Pro from the Data Manager:

  1. Start ArcGIS Pro.
  2. Select the file(s) to send in the Layer Manager, then click the Open Selected in ArcGIS Pro button on the Toolbar .
  3. ArcGIS Pro creates a project for the dataset, then opens it in a view.